kirkwood_nand: allow usage of NAND_ECC_SOFT_BCH
authorGerlando Falauto <[email protected]>
Tue, 15 Jan 2013 22:34:28 +0000 (22:34 +0000)
committerPrafulla Wadaskar <[email protected]>
Fri, 12 Apr 2013 16:12:01 +0000 (21:42 +0530)
commit7070b550bee9341bcb53ceda15f9e0a58df88140
tree1b28d99bed7c0d8a7edbdf0efce07cc097166770
parentc97b6df1ae92679d67f94c1cfef51323782a506d
kirkwood_nand: allow usage of NAND_ECC_SOFT_BCH

If CONFIG_NAND_ECC_BCH is set use 4-bit error correction code instead of
the 1-bit error correction code on the NAND device.

Signed-off-by: Gerlando Falauto <[email protected]>
Signed-off-by: Holger Brunck <[email protected]>
cc: Valentin Longchamp <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
Acked-by: Prafulla Wadaskar <[email protected]>
Acked-by: Scott Wood <[email protected]>
drivers/mtd/nand/kirkwood_nand.c